package com.xhs.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Min;
import lombok.Data;

/**
 * 任务列表请求DTO
 *
 * @author xhs
 */
@Data
@Schema(description = "任务列表请求")
public class TaskListRequest {

    @NotBlank(message = "手机号不能为空")
    @Schema(description = "手机号", example = "13800138000")
    private String phoneNumber;



    @Min(value = 1, message = "页码必须大于0")
    @Schema(description = "页码", example = "1")
    private Integer pageNum = 1;

    @Min(value = 1, message = "页大小必须大于0")
    @Schema(description = "页大小", example = "10")
    private Integer pageSize = 10;
} 